﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BPMN.Domain.Entity.Routing
{
    /// <summary>
    /// 工序工艺关系表
    /// </summary>
    [Table("RoutingProcess")]
    public class RoutingProcess:Audit
    {
        /// <summary>
        /// 关系Id
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 类型Id （1：工艺路线 2：工序）
        /// </summary>
        public int TypeId { get; set; }

        /// <summary>
        /// 工艺名称
        /// </summary>
        public string RoutingName { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }
    }
}
